package com.yuyou.fn.portal.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * outer收藏
 *
 */
@TableName(value = "outer_collection")
public class OuterCollection implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<OuterCollection> createExample(){
		return new Example<OuterCollection>(OuterCollection.class);
	}

	/**  */
	@TableId(value = "outer_collection_id")
	private Long outerCollectionId;

	/** 收藏对象id */
	@TableField(value = "obj_id")
	@ApiModelProperty(value = "收藏对象id",required = true)
	private Long objId;

	/** 用户id */
	@TableField(value = "user_id")
	private Long userId;

	/** 收藏对象类型 0:班级 1：老师 */
	@TableField(value = "obj_type")
	@ApiModelProperty(value = "收藏对象类型 0:班级 1：老师",required = true)
	private Integer objType;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	public Long getOuterCollectionId() {
		return this.outerCollectionId;
	}

	public void setOuterCollectionId(Long outerCollectionId) {
		this.outerCollectionId = outerCollectionId;
	}

	public Long getObjId() {
		return this.objId;
	}

	public void setObjId(Long objId) {
		this.objId = objId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Integer getObjType() {
		return this.objType;
	}

	public void setObjType(Integer objType) {
		this.objType = objType;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
